<?php

class Back_Service_Actions {
    private static  $instance;

    private function __construct(){}

    public static function getInstance(){
        if(is_null(self::$instance)){
            self::$instance = new self();
        }
        return self::$instance;
    }

    public function start($params){
        if(!$this->isStarted){
            spl_autoload_register(array($this, 'includeClass'));
            $this->sourcePath = $params['source_path'];
            $this->isStarted = true;
        }
    }
}